package com.apexsoft.monitor.front.console.template.om;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *  监控方案模板
 */
@TableName("t_template")
public class Template {
    /**
     *id
     */
    @TableId(type = IdType.AUTO)
    private int id;
    /**
     *模板名称
     */
    @TableField(value = "template_name")
    private String templateName;

    /**
     * 模板Code
     */
    @TableField(value = "template_code")
    private String templateCode;
    /**
     *模板状态 1-启用，0-停用
     */
    @TableField(value = "template_status")
    private String templateStatus;
    /**
     *模板类型,1-应用模板2-中间件模板
     */
    @TableField(value = "template_type")
    private String templateType;
    /**
     *模板描述
     */
    @TableField(value = "template_desc")
    private String templateDesc;

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }
    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateStatus() {
        return templateStatus;
    }
    public void setTemplateStatus(String templateStatus) {
        this.templateStatus = templateStatus;
    }

    public String getTemplateType() {
        return templateType;
    }
    public void setTemplateType(String templateType) {
        this.templateType = templateType;
    }

    public String getTemplateDesc() {
        return templateDesc;
    }
    public void setTemplateDesc(String templateDesc) {
        this.templateDesc = templateDesc;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }
}
